package com.serkol.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.serkol.ams.bean.MyPage;
import com.serkol.ams.bean.MyPageOld;
import com.serkol.ams.entity.AdvertisingManagement;

import java.util.List;
import java.util.Map;

/**
* @author pingan
* @description 针对表【advertising_management】的数据库操作Service
* @createDate 2022-10-28 10:58:41
*/
public interface AdvertisingManagementService extends IService<AdvertisingManagement> {

    MyPage<Map<String, Object>> findByBackList(int pageSize, int current, int state);

    List<Map<String, Object>> findByMiniList(int type);

    Map<String, Object> findByMiniByType(int type);

    boolean byDelete(long id);
}
